﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.API.Common
{
    /// <summary>
    /// 所有返回数据的 基类
    /// </summary>
    public abstract class IResponse
    {

    }

    /// <summary>
    /// 状态
    /// </summary>
    public enum ResultStatus
    {
        /// <summary>
        /// 成功
        /// </summary>
        Success = 200,

        /// <summary>
        /// 处理失败
        /// </summary>
        BussniessError = 201,

        /// <summary>
        /// 参数错误
        /// </summary>
        ParameterError = 400,

        /// <summary>
        /// 系统异常
        /// </summary>
        SystemError = 500
    }
}
